﻿@using WaterRevenueMS.Domain.ViewModels.Authen.Role
@model RoleModel

@using (Html.BeginForm("Create", "Role", FormMethod.Post, new { @class = "form-horizontal", @id = "modal-content" }))
{
<div class="control-group">
    <label class="control-label-form">
        <label class="red">*</label>角色名称 :           
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Name, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Name)          
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
        角色描述 :         
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Description, new { @class = "form-control" })
           
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
        <label class="red">*</label>排序 :        
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.OrderSort, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.OrderSort)           
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
        是否激活 :          
    </label>
    <div class="controls">
        @Html.CheckBoxFor(t => t.Enabled)          
    </div>
</div>
}
